<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
    
    
    
     <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap/css/bootstrap.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap/css/bootstrap-responsive.css" media="screen, projection" />
  <!-- HTML5 shim for IE backwards compatibility -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    
    
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>css/bootstrap/js/bootstrap.min.js"></script>

<title> <?php echo CHtml::encode($this->pageTitle); ?> </title>

    <style>
        /* Sticky footer styles
      -------------------------------------------------- */

      html,
      body {
        height: 100%;
        /* The html and body elements cannot have any padding or margin. */
      }

      /* Wrapper for page content to push down footer */
      #wrap {
        min-height: 100%;
        height: auto !important;
        height: 100%;
        /* Negative indent footer by it's height */
        margin: 0 auto -60px; 
      }

      /* Set the fixed height of the footer here */
      #push,
      #footer {
        height: 60px;
      }
      #footer {
        background-color: #f5f5f5;
      }

      /* Lastly, apply responsive CSS fixes as necessary */
      @media (max-width: 767px) {
        #footer {
          margin-left: -20px;
          margin-right: -20px;
          padding-left: 20px;
          padding-right: 20px;
        }
      }



      /* Custom page CSS
      -------------------------------------------------- */
      /* Not required for template or sticky footer method. */

      .container {
        width: auto;
        max-width: 680px;
      }
      .container .credit {
        margin: 20px 0;
      }

    </style>

</head>

<body style="background: #F5F5F5;">

<div id="wrap">

   <div class="container-fluid"> 
	<div class="row-fluid">
		<div class="span12">
			<div class="navbar navbar-inverse">
				<div class="navbar-inner">
					<div class="container-fluid">
						 <a data-target=".navbar-responsive-collapse" data-toggle="collapse" class="btn btn-navbar"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a> <a href="#" class="brand">Octane CMS</a>
						<div class="nav-collapse collapse navbar-responsive-collapse">
							<ul class="nav">
      	                         <li class="divider-vertical"></li>
								<li>
									<a href="<?php echo Yii::app()->createUrl('admin/mainadmin');?>">Главная</a>
								</li>
								<li class="divider-vertical"></li>
								<li class="dropdown">
									 <a data-toggle="dropdown" class="dropdown-toggle" href="#">Содержимое<strong class="caret"></strong></a>
									<ul class="dropdown-menu">
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/allmenu');?>">Список меню</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/category');?>">Категории</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/page');?>">Статьи</a>
										</li>
										<li class="divider">
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/anews');?>">Новости</a>
										</li>
									</ul>
								</li>
                                
								 <li class="divider-vertical"></li>
								<li class="dropdown">
									 <a data-toggle="dropdown" class="dropdown-toggle" href="#">Модули<strong class="caret"></strong></a>
									<ul class="dropdown-menu">
                                        
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/photo/photocat');?>">Фотогалерея</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/filemanager/filemanager');?>">Файловый менеджер</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/gbook/agbook');?>">Гостевая книга</a>
										</li>
										<li class="divider">
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/banner/abanner');?>">Баннеры</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/sendmail/sendmail');?>">Рассылка почты</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/blog/blogcategory');?>">Блог</a>
										</li>
									</ul>
								</li>
								
                                 <li class="divider-vertical"></li>
								<li class="dropdown">
									 <a data-toggle="dropdown" class="dropdown-toggle" href="#">Пользователи<strong class="caret"></strong></a>
									<ul class="dropdown-menu">
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/user');?>">Управление пользователями</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/srbac/authItem');?>">SRBAC</a>
										</li>
										<li class="divider">
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/frontuser');?>">Управление гостями</a>
										</li>
									</ul>
								</li>
								
                                 <li class="divider-vertical"></li>
								<li class="dropdown">
									 <a data-toggle="dropdown" class="dropdown-toggle" href="#">Настройки<strong class="caret"></strong></a>
									<ul class="dropdown-menu">
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/setting');?>">Общие настройки</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/decor');?>">Оформление</a>
										</li>
										<li>
											<a href="#">Информация о системе</a>
										</li>
										<li class="divider">
										</li>
										<li>
											<a href="#">Кэш</a>
										</li>
										<li>
											<a href="<?php echo Yii::app()->createUrl('admin/infophp');?>">PHP Info</a>
										</li>
									</ul>
								</li>
								
								
							</ul>
							<ul class="nav pull-right">
								<li>
									<a href="<?php echo Yii::app()->createUrl('admin/auth/logout');?>">Выход (<?php echo Yii::app()->user->name; ?>)</a>
								</li>
								<li class="divider-vertical">
								</li>
								<li class="dropdown">
									 <a data-toggle="dropdown" class="dropdown-toggle" href="#">Информация<strong class="caret"></strong></a>
									<ul class="dropdown-menu">
										<li>
											<a href="#">Контакты</a>
										</li>
										<li>
											<a href="#"> --- </a>
										</li>
									</ul>
								</li>
							</ul>
						</div>
						
					</div>
				</div>
				
			</div>
       
       
		</div>
	</div>     







<!-- CONTENT -->
    <div class="row-fluid">
      <div class="span12 well">
            
              <?php echo $content; ?>
         
    </div>
</div> 
<!-- END CONTENT -->    

    
  </div> 

<div id="push"></div>

</div>  <!-- end wrap -->

 <div id="footer" style="background:#25282D;"> 
        <div class="container">
            <p class="muted credit">DK cms </p>
        </div>
 </div>

</body>
</html>
